package com.ruyuan.rapid.core.processor;

import com.ruyuan.rapid.core.context.HttpRequestWrapper;

public interface NettyProcessor {

    /**
     * 执行核心请求逻辑
     * @param httpRequestWrapper
     */
    void process(HttpRequestWrapper httpRequestWrapper);

    /**
     * 执行器启动
     */
    void start();

    /**
     * 执行器关闭
     */
    void shutdown();
}
